<?php
/**
 * Created by PhpStorm.
 * User: dingxiaolin
 * Date: 2021-03-04
 * Time: 22:34
 */

namespace app\common\validate;

use think\Validate;//内置验证类


class Klass extends Validate
{
    protected $rule = [
        'teacher_id' => 'require',
        'name' => 'require|length:2,25',
    ];
}